package com.sz.service;

import com.sz.mapper.TDealParticularsMapper;
import com.sz.model.TDealParticulars;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DealParticularsServiceImpl implements IDealParticularsService {

    @Autowired
    private TDealParticularsMapper tDealParticularsMapper;

    @Override
    public int insertDealP(TDealParticulars tDealParticulars) {
        return tDealParticularsMapper.insertDealP(tDealParticulars);
    }

    @Override
    public TDealParticulars getTdealPByAccount(String payerAccount, String payeeAccount) {
        return tDealParticularsMapper.getTdealPByAccount(payerAccount,payeeAccount);
    }
}
